<?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * P2pBank
 *
 * @ORM\Table(name="p2p_bank")
 * @ORM\Entity
 */
class P2pBank
{
    /**
     * @var integer
     *
     * @ORM\Column(name="bank_code", type="integer", nullable=true)
     */
    private $bankCode;

    /**
     * @var string
     *
     * @ORM\Column(name="bank_name", type="string", length=50, nullable=true)
     */
    private $bankName;

    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;



    /**
     * Set bankCode
     *
     * @param integer $bankCode
     *
     * @return P2pBank
     */
    public function setBankCode($bankCode)
    {
        $this->bankCode = $bankCode;

        return $this;
    }

    /**
     * Get bankCode
     *
     * @return integer
     */
    public function getBankCode()
    {
        return $this->bankCode;
    }

    /**
     * Set bankName
     *
     * @param string $bankName
     *
     * @return P2pBank
     */
    public function setBankName($bankName)
    {
        $this->bankName = $bankName;

        return $this;
    }

    /**
     * Get bankName
     *
     * @return string
     */
    public function getBankName()
    {
        return $this->bankName;
    }

    /**
     * Get id
     *
     * @return integer
     */
    public function getId()
    {
        return $this->id;
    }
}
